package com.xy.service;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Service//将服务发布出去，dudoo的注解
@Component//放入到sprin容器中
public class TicketServiceImpl implements TicketService{
    public String getTicket() {
        return "《狂神说java》";
    }
}
